// import {inputMixin} from 'lib/mixins'
export default {
  render (h) {
    let option = this.option
    return (
      <elCheckboxGroup value={option.value} onInput={this.input.bind(option)}>
        {
          option.options.map((item) => {
            return <elCheckbox disabled={item.disabled} label={item.value.toString()} name={this.uuid} >{item.label}</elCheckbox>
          })
        }
      </elCheckboxGroup>
    )
  },
  props: ['option'],
  // mixins: [inputMixin],
  name: 'vCheckbox'
}
